// ******************************************************************************************* // Drag.h CARBONIZED. USES CARBON EVENT MODEL // ******************************************************************************************* // // This program demonstrates drag and drop utilising the Drag Manager. Support for Undo and // Redo of drag and drop within the source window is included. // // The bulk of the code in the source code file Drag.c is identical to the code in the file // Text1.c in the demonstration program MonoTextEdit (Chapter 21). // // The program utilises the following resources: // // • A 'carb' resource. // // • An 'MBAR' resource, and 'MENU' resources for Apple, File, and Edit menus. // // • A 'WIND' resource (purgeable) (initially visible). // // • 'CNTL' resources (purgeable) for the vertical scroll bars in the text editor window and // Help dialog, and for the pop-up menu in the Help Dialog. // // • A 'STR#' resource (purgeable) co